<?php
namespace Admin\Behaviors;

use Common\Logic\SystemLogsLogic;

class SystemLogBehavior extends \Think\Behavior
{
    public function run(&$params)
    {
        if(!empty($params)){
            $system_logs_logic = new SystemLogsLogic();
            $system_logs_logic->record($params);
        }
    }
}
